<template>
  <view class="my_index_cont">
    <view class="my_title">
      {{ itemObj.title }}
    </view>
    <view class="my_already_num">
      {{ itemObj.createTime }}
    </view>
  </view>
</template>

<script>
import { getDateFn } from "../../../utils/fun.js";
export default {
  props: {
    itemObj: {
      type: Object,
      default: {},
    },
  },
  data() {
    return {
      time: "",
      imgSrc: "../../static/dangjian/no-pic.png",
      title: "",
    };
  },
  created() {
    // this.imgUrl = this.itemObj.seriesCoverUrl.length > 3 ? JSON.parse(this.itemObj.seriesCoverUrl) : [this.imgSrc];
    // this.time = getDateFn(this.itemObj.createTime);
  },
  methods: {
    searchList() {
      this.$emit("searchList", this.title);
    },
  },
};
</script>

<style>
@import "/static/dangjian.scss";
.my_index_cont {
  width: 700rpx !important;
  overflow: hidden;
  padding: 0 !important;
  margin-top: 10rpx;
}
</style>
